@charset "utf-8";
@import "common";
.container-fluid {
    main {
        .hotgame_box {
            position: relative;
            .hot_game_title {
                position: absolute;
                top: 0;
                left: 4%;
                p {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 20px;
                    font-size: 20px;
                    color: #FFFFFF;
                }
            }
            .game_character_bg {
                margin-top: 25px;
                .game_character_img {
                    width: 100%;
                    img {
                        max-width: 100%;
                    }
                }
            }
            .game_main {
                .game_main_content {
                    text-align: right;
                    h2 {
                        color: #2a2a2a;
                        font-size: 30px;
                    }
                    .game_main_text {
                        font-size: 12px;
                        color: #898989;
                        line-height: 30px;
                    }
                }
                .screenshots_list {
                    .screenshots_img {
                        width: 100%;
                        margin: 15px 0;
                        img {
                            width: 100%;
                            border-radius: 8px;
                        }
                    }
                }
            }
        }
        .hotgame_box2 {
            margin-top: 50px;
            .game_character_bg {
                .game_character_img {
                    width: 100%;
                    text-align: right;
                    img {
                        max-width: 100%;
                    }
                }
            }
            .game_main {
                transform: translateX(20px);
                .game_main_content {
                    text-align: left;
                }
            }
        }
        .case_box {
            margin-top: 100px;
            h3 {
                font-size: 36px;
            }
            .case_list {
                margin-top: 40px;
                .case_list_box {
                    margin: 20px 0;
                    .case_list_img_box {
                        position: relative;
                        border-radius: 8px;
                        overflow: hidden;
                        cursor: pointer;
                        .case_list_img {
                            img {
                                width: 100%;
                            }
                        }
                        .case_list_img_desc {
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            top: 100%;
                            left: 0;
                            text-align: justify;
                            color: #FFFFFF;
                            font-size: 12px;
                            padding: 15px;
                            background-color: rgba(0, 0, 0, .55);
                            overflow: hidden;
                            transition: all .8s;
                            cursor: pointer;
                        }
                    }
                    h3 {
                        text-align: center;
                        font-size: 14px;
                        color: #2a2a2a;
                    }
                    &:hover {
                        
                        .case_list_img_desc {
                            top: 0;
                        }
                    }
                }
            }
        }
    }
}

@media only screen and (min-width:992px) and (max-width:1200px) {
    .container-fluid {
        main {
            .hotgame_box {
                .game_character_bg {
                    margin-top: 100px;
                }
            }
        }
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .container-fluid {
        main {
            .hotgame_box {
                .hot_game_title {
                    p {}
                }
                .game_character_bg {
                    display: none;
                    .game_character_img {
                        img {}
                    }
                }
                .game_main {
                    transform: translateX(0);
                    .game_main_content {
                        margin-top: 20px;
                        text-align: center;
                        h2 {
                            margin: 50px 0 30px;
                        }
                        .game_main_text {
//                          margin-top: 50px;
                        }
                    }
                    .screenshots_list {
                        .screenshots_img {
                            img {}
                        }
                    }
                }
            }
            .hotgame_box2 {
                 
                .game_main {
                    .game_main_content {
                        
                    }
                }
            }
            .case_box {
                h3 {}
                .case_list {
                    .case_list_box {
                        .case_list_img_box {
                            .case_list_img {
                                img {}
                            }
                            .case_list_img_desc {}
                        }
                        h3 {}
                        &:hover {
                            .case_list_img_desc {}
                        }
                    }
                }
            }
        }
    }
}
@media only screen and (min-width:521px) and (max-width:767px) {
    .container-fluid {
        main {
            .hotgame_box {
                .hot_game_title {
                    p {}
                }
                .game_character_bg {
                    display: none;
                    .game_character_img {
                        img {}
                    }
                }
                .game_main {
                    transform: translateX(0);
                    .game_main_content {
                        margin-top: 20px;
                        text-align: center;
                        h2 {
                            margin: 50px 0 30px;
                        }
                        .game_main_text {
//                          margin-top: 50px;
                            text-align: justify;
                            text-indent: 2em;
                        }
                    }
                    .screenshots_list {
                        .screenshots_img {
                            img {}
                        }
                    }
                }
            }
            .hotgame_box2 {
                margin-top: 30px;
                .game_main {
                    .game_main_content {
                        h2{
                            margin: 0;
                            margin-bottom: 30px;
                        }
                    }
                }
            }
            .case_box {
                h3 {}
                .case_list {
                    .case_list_box {
                        .case_list_img_box {
                            .case_list_img {
                                img {}
                            }
                            .case_list_img_desc {}
                        }
                        h3 {}
                        &:hover {
                            .case_list_img_desc {}
                        }
                    }
                }
            }
        }
    }
}
@media only screen and (min-width:320px) and (max-width:520px) {
    .container-fluid {
        main {
            .hotgame_box {
                .hot_game_title {
                    p {}
                }
                .game_character_bg {
                    display: none;
                    .game_character_img {
                        img {}
                    }
                }
                .game_main {
                    transform: translateX(0);
                    .game_main_content {
                        margin-top: 20px;
                        text-align: center;
                        h2 {
                            margin: 50px 0 30px;
                        }
                        .game_main_text {
//                          margin-top: 50px;
                            text-align: justify;
                            text-indent: 2em;
                        }
                    }
                    .screenshots_list {
                        .screenshots_img_box {
                            width: 100%;
                        }
                        .screenshots_img {
                            img {}
                        }
                    }
                }
            }
            .hotgame_box2 {
                margin-top: 30px;
                .game_main {
                    .game_main_content {
                        h2{
                            margin: 0;
                            margin-bottom: 30px;
                        }
                    }
                }
            }
            .case_box {
                margin-top: 40px;
                h3 {}
                .case_list {
                    .case_list_box {
                        width: 100%;    
                        .case_list_img_box {
                            .case_list_img {
                                img {}
                            }
                            .case_list_img_desc {}
                        }
                        h3 {}
                        &:hover {
                            .case_list_img_desc {}
                        }
                    }
                }
            }
        }
    }
}